package com.springcloud.feign.springcloudfeignproviderV2.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description : HelloCotroller
 * @Author : asus
 * @Version : xxx
 * @Date : 2021/6/14 22:05
 */
@RestController
public class HelloCotroller {
    @GetMapping("/echo/{hello}")
    public String hello(@PathVariable String hello) {
        return "Hello Nacos Discovery V2 " + hello;
    }
}
